/*
 * @Author: 凉月 1931226988@qq.com
 * @Date: 2023-08-23 14:11:46
 * @LastEditors: 凉月 1931226988@qq.com
 * @LastEditTime: 2023-08-23 14:24:44
 * @FilePath: \v3_xmly\src\api\listen\index.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from "@/utils/request";

// 获取听单分类数据
export const reqListenClass = () => request.get(`/revision/subject/category`)

// 获取听单分类列表数据
export const reqListenArr = (title:string | undefined, pageNum:number , pageSize:number) => request.get(`/revision/subject/categorySubjectList/${title}?pageNum=${pageNum}&pageSize=${pageSize}`)